package com.component;

import javax.faces.context.FacesContext;

import org.operamasks.faces.annotation.ManagedBean;
import org.operamasks.faces.annotation.ManagedBeanScope;
import org.operamasks.faces.annotation.SaveState;

@ManagedBean(name = "component_editAttachmentBean", scope = ManagedBeanScope.REQUEST)
public class EditAttachmentBean {
	@SaveState
	private String repositoryName = FacesContext.getCurrentInstance()
			.getExternalContext().getRequestParameterMap()
			.get("repositoryName");
	@SaveState
	private String currentPath = FacesContext.getCurrentInstance()
			.getExternalContext().getRequestParameterMap().get("path");

}
